package cn.com.yusys.yusp.custManager.domain;

import cn.com.yusys.yusp.commons.mapper.domain.BaseDomain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "WCRM_MARKET_CUST_GROUP_REL")
public class WcrmMarketCustGroupRel extends BaseDomain implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column(name = "CUST_GROUP_NO")
    private String custGroupNo;
    @Column(name = "CUST_NO")
    private String custNo;
    @Column(name = "CUST_NAME")
    private String custName;
    @Column(name = "GRID_ID")
    private String gridId;
    @Column(name = "SECOND_GRID_ID")
    private String secondGridId;
    @Column(name = "USER_NO")
    private String userNo;

    public String getCustGroupNo() {
        return custGroupNo;
    }

    public void setCustGroupNo(String custGroupNo) {
        this.custGroupNo = custGroupNo;
    }

    public String getCustNo() {
        return custNo;
    }

    public void setCustNo(String custNo) {
        this.custNo = custNo;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public String getGridId() {
        return gridId;
    }

    public void setGridId(String gridId) {
        this.gridId = gridId;
    }

    public String getSecondGridId() {
        return secondGridId;
    }

    public void setSecondGridId(String secondGridId) {
        this.secondGridId = secondGridId;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public WcrmMarketCustGroupRel() {
    }

    public WcrmMarketCustGroupRel(String custGroupNo, String custNo, String custName, String gridId, String secondGridId, String userNo) {
        this.custGroupNo = custGroupNo;
        this.custNo = custNo;
        this.custName = custName;
        this.gridId = gridId;
        this.secondGridId = secondGridId;
        this.userNo = userNo;
    }

    @Override
    public String toString() {
        return "WcrmMarketCustGroupRel{" +
                "custGroupNo='" + custGroupNo + '\'' +
                ", custNo='" + custNo + '\'' +
                ", custName='" + custName + '\'' +
                ", gridId='" + gridId + '\'' +
                ", secondGridId='" + secondGridId + '\'' +
                ", userNo='" + userNo + '\'' +
                '}';
    }
}
